/**
 * kl yy-ds @2021
 */
package com.cxps.server.menu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxps.cloud.base.BaseEntity;
import com.cxps.cloud.utils.IdUtils;
import lombok.Data;

/**
 * 菜单数据库交互对象
 *
 * @author YouCai.Liu
 * @since 2021/10/12
 * ...
 */
@Data
@TableName("sys_menu")
public class MenuEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    // 父ID
    private String pid;

    // 菜单名
    private String menuName;

    // 菜单URL
    private String menuUrl;

    // 菜单类型 0菜单 1按钮
    private Integer menuType;

    // 菜单权限标识
    private String menuPerm;

    // 菜单排序
    private Integer sortNum;

}
